@if ($thingsCommon['current_page'] == 1)
<div class="common-list">
    @endif

@foreach($thingsCommon['data'] as $commonVal )
    <div class="common-item">
        <div class="c-head-img">
            <img src="{{ img_url($commonVal['commenter']['head_portrait_url']) }}" alt="">
        </div>
        <div class="common-cont">
            <div class="c-text">
                <span class="checked">{{ $commonVal['commenter']['real_name'] ? $commonVal['commenter']['real_name'] : $commonVal['commenter']['user_name'] }}</span>:

                    @if ($commonVal['replyer'])
                        <span class="checked">@ {{ $commonVal['replyer']['real_name'] ? $commonVal['replyer']['real_name'] : $commonVal['replyer']['user_name'] }}</span>
                    @endif

                    {{ $commonVal['content'] }}
            </div>

            <div class="c-info">
                <span>{{ $commonVal['created_at'] }}</span>
                <span>{{ $commonVal['zan_num'] }}次赞</span>
            </div>
        </div>
        {{--                        <div class="zan-btn"></div>--}}
    </div>
@endforeach

@if ($thingsCommon['current_page'] == 1)
</div>
@endif


@if ($thingsCommon['next_page_url'])
    <a class="more-common" onclick="common_list({{ $thingsId }})">查看更多</a>
@endif

@if ($thingsCommon['next_page_url'])
<input type="hidden" name="common_list_url{{ $thingsId }}" value="{{ $thingsCommon['next_page_url'] }}">
@endif